package com.chengxiaoxiao.ai_demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chengxiaoxiao.ai_demo.entity.MessageInfo;
import com.chengxiaoxiao.ai_demo.entity.OriginalMessage;

import java.util.List;

/**
 * 消息记录业务逻辑
 *
 * @Description:
 * @Author Cheng Xiaoxiao
 * @Date: 2025/3/13 09:56
 */
public interface MessageInfoService extends IService<MessageInfo> {
    /**
     * 根据会话ID获取消息记录
     *
     * @param conversationId 会话ID
     * @return 消息记录列表
     */
    List<OriginalMessage> listMessageByConversationId(String conversationId);
}
